home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 Christmas / macformat-045.iso / Demos / Grolier Demos / Circus / DEMO_US.EXE / DEMO_US.DXR / 00003.ls < prev    next >
Encoding:
Text File  |  1996-10-31  |  594 b   |  33 lines

  1. on checkPCConfig
  2.   if the quickTimePresent <> 1 then
  3.     go("PC_QT_ABSENT")
  4.     abort()
  5.   end if
  6.   if the memorysize < 2500000 then
  7.     go("PC_LOW_MEM")
  8.     abort()
  9.   end if
  10.   if the colorDepth <> 8 then
  11.     go("PC_VIDEO_MODE")
  12.     abort()
  13.   end if
  14. end
  15.  
  16. on SetMemFlag
  17.   global MemMngrFlag
  18.   set MemMngrFlag to 1
  19.   if the memorysize < 8000000 then
  20.     set MemMngrFlag to 0
  21.   end if
  22. end
  23.  
  24. on FindPCDisk
  25.   openXLib("findcd")
  26.   set CD to findcd(mnew)
  27.   set driveLetter to CD(mFind, "CircusDM")
  28.   set driveLetter to char 1 of driveLetter
  29.   CD(mdispose)
  30.   closeXLib("findcd")
  31.   return driveLetter
  32. end
  33.